package com.ybxx.base.service;

import java.util.List;

import com.ybxx.base.model.ResHydropower;
import com.ybxx.base.model.Residents;
import com.ybxx.base.model.ResidentsMember;
import com.ybxx.core.command.QueryFilter;
import com.ybxx.core.service.BaseService;

public interface ResidentsService extends BaseService<Residents> {
	public Object[] load(String rid,String rcode);
	public List<Residents> queryPage(QueryFilter filter, String cid, String bid,
			String uid, String rid, String loginid);
	public void save(Residents residents, List<ResHydropower> hydropowers,
			ResidentsMember member);
	public void removeAll(String rcode);
	public List<Residents> loadAnmeterResidents(String rid);
	public Residents queryCurrentResidents(String rid);
	public int checkConfig(String unitid);

}
